<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>模板之家</title>

    {load href="__STATIC__/assets/css/bootstrap.css,__STATIC__/assets/css/font-awesome.css,__STATIC__/assets/css/basic.css,
    __STATIC__/assets/css/bootstrap-fileupload.min.css,__STATIC__/assets/css/custom.css"/}
     <!--BOOTSTRAP STYLES-->
    <!--<link href="assets/css/bootstrap.css" rel="stylesheet" />-->
    <!--&lt;!&ndash; FONTAWESOME STYLES&ndash;&gt;-->
    <!--<link href="assets/css/font-awesome.css" rel="stylesheet" />-->
    <!--&lt;!&ndash; PAGE LEVEL STYLES &ndash;&gt;-->
    <!--<link href="assets/css/bootstrap-fileupload.min.css" rel="stylesheet" />-->
    <!--&lt;!&ndash;CUSTOM BASIC STYLES&ndash;&gt;-->
    <!--<link href="assets/css/basic.css" rel="stylesheet" />-->
    <!--&lt;!&ndash;CUSTOM MAIN STYLES&ndash;&gt;-->
    <!--<link href="assets/css/custom.css" rel="stylesheet" />-->
     <!--GOOGLE FONTS-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
    <style>
        #lunbo
        {
            overflow: hidden;
            zoom: 1;
        }
        .lunbo-box
        {
            width: 30%;
            float: left;

        }
    </style>
</head>
<body>
<div id="wrapper">
    {include file="common/header"}
    <!-- /. NAV TOP  -->
    {include file="common/menu"}
    <!-- /. NAV SIDE  -->
    <div id="page-wrapper">
        <div id="page-inner">
            <div class="row">
                <div class="col-md-12">
                    <h1 class="page-head-line">修改俱乐部</h1>
                </div>
            </div>
            <!-- /. ROW  -->
            <div class="row">
                <div class="col-md-8 col-sm-6 col-xs-12">
                    <div class="panel panel-info">
                        <div class="panel-heading">

                        </div>
                        <div class="panel-body">
                            <form role="form" action="{:url('club/update')}" enctype="multipart/form-data" method="post">
                                <input type="hidden" value="{$club.club_id}" name="club_id">
                                <div class="form-group">
                                    <label>俱乐部名称</label>
                                    <input class="form-control" type="text" value="{$club.club_name}" name="club_name">

                                </div>
                                <div class="form-group">
                                    <label>俱乐部简介</label>
                                    <input class="form-control" type="text" value="{$club.club_intro}" name="club_intro">
                                </div>
                                <div class="form-group">
                                    <label>联系方式</label>
                                    <input class="form-control" type="text" value="{$club.contact_num}" name="contact_num">
                                </div>
                                <div class="form-group">
                                    <label>地址</label>
                                    <input class="form-control" type="text" value="{$club.address}" name="address">
                                </div>
                                <label>轮播图</label>
                                <div class="form-group" id="lunbo">

                                    <div class="lunbo-box">
                                        <div class="fileupload fileupload-new" data-provides="fileupload">
                                            <div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">
                                                <a  href="__STATIC__/img/club/{$club.sowing1}"><img src="__STATIC__/img/club/{$club.sowing1}" alt="" /></a></div>
                                            <div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
                                            <div>
                                                <span class="btn btn-file btn-primary"><span class="fileupload-new">选择图片</span><span class="fileupload-exists">更换</span>
                                                    <input type="file" name="lunbo[]"></span>
                                                <a href="#" class="btn btn-danger fileupload-exists" data-dismiss="fileupload">取消</a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="lunbo-box">
                                        <div class="fileupload fileupload-new" data-provides="fileupload">
                                            <div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">
                                                <a  href="__STATIC__/img/club/{$club.sowing2}"><img src="__STATIC__/img/club/{$club.sowing2}" alt="" /></a></div>
                                            <div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
                                            <div>
                                                <span class="btn btn-file btn-primary"><span class="fileupload-new">选择图片</span><span class="fileupload-exists">更换</span>
                                                    <input type="file" name="lunbo[]"></span>
                                                <a href="#" class="btn btn-danger fileupload-exists" data-dismiss="fileupload">取消</a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="lunbo-box">
                                        <div class="fileupload fileupload-new" data-provides="fileupload">
                                            <div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">
                                                <a  href="__STATIC__/img/club/{$club.sowing3}"><img src="__STATIC__/img/club/{$club.sowing3}" alt="" /></a></div>
                                            <div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
                                            <div>
                                                <span class="btn btn-file btn-primary"><span class="fileupload-new">选择图片</span><span class="fileupload-exists">更换</span>
                                                    <input type="file" name="lunbo[]"></span>
                                                <a href="#" class="btn btn-danger fileupload-exists" data-dismiss="fileupload">取消</a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="lunbo-box">
                                        <div class="fileupload fileupload-new" data-provides="fileupload">
                                            <div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">
                                                <a  href="__STATIC__/img/club/{$club.sowing4}"><img src="__STATIC__/img/club/{$club.sowing4}" alt="" /></a></div>
                                            <div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
                                            <div>
                                                <span class="btn btn-file btn-primary"><span class="fileupload-new">选择图片</span><span class="fileupload-exists">更换</span>
                                                    <input type="file" name="lunbo[]"></span>
                                                <a href="#" class="btn btn-danger fileupload-exists" data-dismiss="fileupload">取消</a>
                                            </div>
                                        </div>
                                    </div>

                                </div>

                                <div class="form-group">
                                    <label>海报</label>
                                    <div class="">
                                        <div class="fileupload fileupload-new" data-provides="fileupload">
                                            <div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">
                                                <a href="__STATIC__/img/club/{$club.club_poster}"><img src="__STATIC__/img/club/{$club.club_poster}" alt="" /></a></div>
                                            <div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
                                            <div>
                                                <span class="btn btn-file btn-primary"><span class="fileupload-new">选择图片</span><span class="fileupload-exists">更换</span><input type="file" name="poster"></span>
                                                <a href="#" class="btn btn-danger fileupload-exists" data-dismiss="fileupload">取消</a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <button type="submit" class="btn btn-info">确定</button>

                            </form>
                        </div>
                    </div>
                </div>

            </div>
            <!--/.ROW-->


        </div>
        <!-- /. PAGE INNER  -->
    </div>
    <!-- /. PAGE WRAPPER  -->
</div>
<!-- /. WRAPPER  -->
<!-- /. FOOTER  -->
<!-- SCRIPTS -AT THE BOTOM TO REDUCE THE LOAD TIME-->
<!-- JQUERY SCRIPTS -->

{load href="__STATIC__/assets/js/jquery-1.10.2.js,__STATIC__/assets/js/bootstrap.js,__STATIC__/assets/js/bootstrap-fileupload.js,__STATIC__/assets/js/jquery.metisMenu.js,__STATIC__/assets/js/custom.js" /}
<!--<script src="assets/js/jquery-1.10.2.js"></script>-->
<!--&lt;!&ndash; BOOTSTRAP SCRIPTS &ndash;&gt;-->
<!--<script src="assets/js/bootstrap.js"></script>-->
<!--&lt;!&ndash; PAGE LEVEL SCRIPTS &ndash;&gt;-->
<!--<script src="assets/js/bootstrap-fileupload.js"></script>-->
<!--&lt;!&ndash; METISMENU SCRIPTS &ndash;&gt;-->
<!--<script src="assets/js/jquery.metisMenu.js"></script>-->
<!--&lt;!&ndash; CUSTOM SCRIPTS &ndash;&gt;-->
<!--<script src="assets/js/custom.js"></script>-->
<script>
//下拉列表(select)默认选择行


</script>
</body>
</html>
